<template>
  <div class="loading-wrapper">
    <div class="rotate">
      <a-spin size="large" />
    </div>
    <div class="project-title" v-if="route.params.pageId!=='jjj'">
      <svg-icon icon-class="zhlwykpt" class="title" />
    </div>
  </div>
</template>
<script>
export default {
  name: 'Loading'
}
/**
 * @desc 首屏loading
 **/
</script>
<script setup>
import { useRoute } from 'vue-router'

const route = useRoute()
console.log(route.params.pageId)
</script>

<style lang="less" scoped>
.loading-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  // background: url(../../assets/images/loading-bg.png) no-repeat;
  background-size: cover;
  z-index: 10;

  .rotate {
    /deep/ .ant-spin-dot.ant-spin-dot-spin {
      font-size: 62px;

      .ant-spin-dot-item {
        width: 24px;
        height: 24px;
      }
    }
  }

  .title {
    font-size: 24px;
    width: 220px;
    margin-top: 30px;
  }
}
</style>
